Finite Tree Automata with Cost Functions
نویسنده
چکیده
Cost functions for tree automata are mappings from transitions to (tuples o0 polynomials over some semiring. We consider four semirings, namely N the semiring of nonnegative integers, A the "arctical semiring", T the tropical semiring and F the semiring of finite subsets of nonnegative integers. We show: for semirings N and A it is decidable in polynomial time whether or not the costs of accepting computations is bounded; for F it is decidable in polynomial time whether or not tile cardinality of occurring cost sets is bounded. In all three cases we derive explicit upper bounds. For semiring T we are able to derive similar results at least in case of polynomials of degree at most 1. For N and A we extend our results to multi-dimensional cost functions. 0. I n t roduc t ion Finite tree automata are finite state devices which operate on labeled ordered trees. Cost functions c for tree automata map transitions to (tuples of) polynomials over some semiring R such that every computation obtains a cost c(~)) in R (resp. R d in the mult i -dimensional case). A pair of a finite tree automaton and a cost function is called cost automaton. There are two reasons why we are interested in finite tree automata with cost functions. First, finite tree automata are an important tool o f ' compi l e r generating systems like O P T R A N where they are applied for generating code selectors f rom descriptions o f target machine assembly languages [GieSch88, WeiWi88]. A generated tree automaton A is meant to traverse the abstract syntax tree o f an input program. The different accepting computat ions o f A correspond to different possibilities of target machine code generation. F rom these the "cheapest" one is selected according to some suitable cost measure. In fact, these measures are of a type similar to the cost functions we consider here. The second reason why we are interested in cost automata is o f a more theoretical nature. In [CouMo90] Courcelle and Mosbah investigated MS (i.e. Monadic Second-Order) evaluations
منابع مشابه
Multidimensional fuzzy finite tree automata
This paper introduces the notion of multidimensional fuzzy finite tree automata (MFFTA) and investigates its closure properties from the area of automata and language theory. MFFTA are a superclass of fuzzy tree automata whose behavior is generalized to adapt to multidimensional fuzzy sets. An MFFTA recognizes a multidimensional fuzzy tree language which is a regular tree language so that for e...
متن کاملDeciding the weak definability of Büchi definable tree languages
Weakly definable languages of infinite trees are an expressive subclass of regular tree languages definable in terms of weak monadic second-order logic, or equivalently weak alternating automata. Our main result is that given a Büchi automaton, it is decidable whether the language is weakly definable. We also show that given a parity automaton, it is decidable whether the language is recognizab...
متن کاملNEW DIRECTION IN FUZZY TREE AUTOMATA
In this paper, our focus of attention is the proper propagationof fuzzy degrees in determinization of $Nondeterministic$ $Fuzzy$$Finite$ $Tree$ $Automata$ (NFFTA). Initially, two determinizationmethods are introduced which have some limitations (one inbehavior preserving and other in type of fuzzy operations). Inorder to eliminate these limitations and increasing theefficiency of FFTA, we defin...
متن کاملRegular Functions, Cost Register Automata, and Generalized Min-Cost Problems
Motivated by the successful application of the theory of regular languages to formal verification of finite-state systems, there is a renewed interest in developing a theory of analyzable functions from strings to numerical values that can provide a foundation for analyzing quantitative properties of finite-state systems. In this paper, we propose a deterministic model for associating costs wit...
متن کاملQuasi-Weak Cost Automata: A New Variant of Weakness
Cost automata have a finite set of counters which can be manipulated on each transition but do not affect control flow. Based on the evolution of the counter values, these automata define functions from a domain like words or trees to N ∪ {∞}, modulo an equivalence relation which ignores exact values but preserves boundedness properties. These automata have been studied by Colcombet et al. as p...
متن کامل